package com.shamar.blog.entity;

import lombok.Data;

import java.util.Date;

/**
 * @author fangxiaoming
 * @update 2020-07-21 20:10
 */
@Data
public class BlogStar {
    private Integer id;

    private String userId;

    private String contentId;

    private Date startime;

    public void setUserId(String userId) {
        this.userId = userId == null ? null : userId.trim();
    }

    public void setContentId(String contentId) {
        this.contentId = contentId == null ? null : contentId.trim();
    }
}